<!DOCTYPE html>
<html class="x-admin-sm">

<head>
  <meta charset="UTF-8">
  <title></title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport"
    content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
  <!-- <link rel="stylesheet" href="./css/font.css"> -->
  <link rel="stylesheet" href="./css/xadmin.css">
  <link rel="stylesheet" href="./css/lxj_advimg.css">
  <!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
</head>

<body>
  <div class="x-nav">
    <span class="layui-breadcrumb">
      <a href="">首页</a>
      <a href="">广告图管理</a>
    </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"
      onclick="location.reload()" title="刷新">
      <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
  </div>
  <div class="layui-fluid">
    <!-- 头部搜索框等功能 -->
    <div class="layui-row" style="line-height: 30px;" id="lxj_serach">
      <span class="lxj_advimg_title">广告图描述</span>
      <div class="layui-input-inline" style="width: 180px;">
        <input type="text" name="advpos_title" placeholder="请输入广告图描述" autocomplete="off" class="layui-input">
      </div>
      <span class="lxj_advimg_title">广告图位置</span>
      <div class="layui-input-inline" style="width: 200px;">
        <select name="city" lay-verify="required">
          <option value="">请选择广告位</option>
          <!-- <option value="0">北京</option>
          <option value="1">上海</option>
          <option value="2">广州</option>
          <option value="3">深圳</option>
          <option value="4">杭州</option> -->
        </select>
      </div>
      <div class="layui-input-inline">
        <button type="search" id="search" class="layui-btn layui-btn-normal" style="width: 60px;">搜索</button>
      </div>
      <div class="layui-input-inline">
        <button type="reset" id="reset" class="layui-btn layui-btn-primary" style="width: 60px;">重置</button>
      </div>
    </div>

    <!-- 新增按钮 和 右侧的工具按钮 -->
    <div class="layui-row" style="margin-top: 15px;">
      <button type="button" class="layui-btn layui-btn-primary layui-border-blue lxj_btn1" style="width: 80px;">+ 新增</button>
      <div class="layui-input-inline" style="float: right;">
        <div class="lxj_circle">
          <i class="layui-icon layui-icon-up"  title="关闭搜索区"></i>
        </div>
        <div class="lxj_circle">
          <i class="layui-icon layui-icon-refresh" title="刷新"></i>
        </div>
        <div class="lxj_circle">
          <i class="layui-icon layui-icon-slider" title="选择"></i>
        </div>
      </div>
    </div>

    <!-- 表格主体数据 -->
    <div class="layui-row" style="margin-top: 10px;">
      <table class="layui-table lxj_table" lay-size="lg">
        <colgroup>
          <col width="50">
          <col width="50">
          <col>
          <col>
          <col>
          <col>
          <col>
        </colgroup>
        <thead>
          <tr>
            <th><input type="checkbox"></th>
            <th>#</th>
            <th>广告图位</th>
            <th>广告图描述</th>
            <th>广告图</th>
            <th>广告图链接</th>
            <th>操作</th>
          </tr>
        </thead>
        <tbody>
          <!-- <tr>
            <td><input type="checkbox"></td>
            <td>1</td>
            <td>首页banner</td>
            <td>不是每次微笑都证明我很快乐</td>
            <td><img src="xxxx" alt=""></td>
            <td>http://www.baidu.com</td>
            <td>
              <div class="lxj_oper_circle">
                <i class="layui-icon layui-icon-edit lxj_edit"></i>
              </div>
              <div class="lxj_oper_circle">
                <i class="layui-icon layui-icon-delete lxj_delete"></i>
              </div>
            </td>
          </tr> -->
        </tbody>
      </table>
    </div>

    <!-- 备用： 添加弹出层的表单内容结构 -->
    <form style="display: none" id="lxj_addForm" class="layui-form">
      <!-- 第一行 -->
      <div class="layui-form-item">
        <label class="layui-form-label">广告位</label>
        <div class="layui-input-block">
          <select name="city" lay-verify="required">
            <option value="">请选择广告位</option>
            <option value="0">北京</option>
            <option value="1">上海</option>
            <option value="2">广州</option>
            <option value="3">深圳</option>
            <option value="4">杭州</option>
          </select>
        </div>
      </div>
      <!-- 第二行   -->
      <div class="layui-form-item">
        <label class="layui-form-label">广告图描述</label>
        <div class="layui-input-block">
          <textarea name="desc" placeholder="请输入广告位描述" class="layui-textarea"></textarea>
        </div>
      </div>
      <!-- 第三行   -->
      <div class="layui-form-item">
        <label class="layui-form-label">广告图链接</label>
        <div class="layui-input-block">
          <input type="text" name="xxx" required lay-verify="required" placeholder="请输入广告位尺寸" autocomplete="off"
            class="layui-input">
        </div>
      </div>
      <!-- 第四行 -->
      <div class="layui-form-item">
        <label class="layui-form-label">广告图</label>
        <div class="layui-input-block">
          <button type="button" class="layui-btn layui-btn-normal">点击上传</button>
          <input type="file" style="display: none;">
        </div>
      </div>

      <div class="layui-form-item">
        <div class="layui-input-block">
          <button type="layui-btn" class="layui-btn layui-btn-primary">取消</button>
          <button class="layui-btn" lay-submit lay-filter="formDemo">确定</button>
        </div>
      </div>
    </form>


    <!-- 备用： 修改弹出层的表单内容结构 -->
    <form style="display: none;" id="lxj_editForm" class="layui-form">
      <!-- 第一行 -->
      <div class="layui-form-item">
        <label class="layui-form-label">广告位</label>
        <div class="layui-input-block">
          <input type="text" name="xxx" required lay-verify="required" placeholder="请输入广告位名称" autocomplete="off"
            class="layui-input">
        </div>
      </div>
      <!-- 第二行   -->
      <div class="layui-form-item">
        <label class="layui-form-label">广告图描述</label>
        <div class="layui-input-block">
          <textarea name="desc" placeholder="请输入广告位描述" class="layui-textarea"></textarea>
        </div>
      </div>
      <!-- 第三行   -->
      <div class="layui-form-item">
        <label class="layui-form-label">广告图链接</label>
        <div class="layui-input-block">
          <input type="text" name="xxx" required lay-verify="required" placeholder="请输入广告位尺寸" autocomplete="off"
            class="layui-input">
        </div>
      </div>
      <!-- 第四行 -->
      <div class="layui-form-item">
        <label class="layui-form-label">广告图</label>
        <div class="layui-input-block">
          <button type="button" class="layui-btn layui-btn-normal">点击上传</button>
          <input type="file" style="display: none;">
        </div>
      </div>

      <div class="layui-form-item">
        <div class="layui-input-block">
          <button type="layui-btn" class="layui-btn layui-btn-primary">取消</button>
          <button class="layui-btn" lay-submit lay-filter="formDemo">确定</button>
        </div>
      </div>
    </form>

    <div class="layui-row" style="margin-top: 15px;text-align: center;" id="lxj_renderpage">123</div>
  </div>
</body>
<script src="./lib/layui/layui.all.js" charset="utf-8"></script>
<script src="./js/xadmin.js" type="text/javascript"></script>
<script src="./js/jquery.min.js"></script>
<script src="./lib/axios.min.js"></script>
<script src="./js/common.js"></script>
<script src="./js/lxj_advimg.js"></script>

</html>